package com.letoken.platform.repo.ecommerce.vo;

import com.letoken.platform.repo.ecommerce.po.EcommerceOrderDetail;
import com.letoken.platform.repo.ecommerce.po.EcommerceProduct;
import com.letoken.platform.repo.ecommerce.po.EcommerceProductDetail;
import com.letoken.platform.repo.ecommerce.po.EcommerceUserAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.web3j.abi.datatypes.Int;

import java.math.BigDecimal;

@Data
@ApiModel(value = "用户商品详情响应对象", description = "用户商品详情响应对象")
public class UserProductDetailRes {


    @ApiModelProperty(value = "商品ID")
    private Integer id ;

    @ApiModelProperty(value = "商品图片")
    private String albumPics;



    @ApiModelProperty(value = "划线价格")
    private BigDecimal price;

    @ApiModelProperty(value = "实际价格")
    private BigDecimal realPrice;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value="标签")
    private String tags;

    @ApiModelProperty(value = "副标题")
    private String assistantTitle;



    @ApiModelProperty(value = "详情图片")
    private String graphicDetails;


    @ApiModelProperty(value = "是否免运费 1是 2否")
    private Integer freeShipping;

    @ApiModelProperty(value = "运费")
    private BigDecimal shipping;




    @ApiModelProperty(value = "默认规格")
    private String defaultSpec;

    private String defaultSpecStr;


    @ApiModelProperty(value = "商品规格sku")
    private Integer productSkuId;


    @ApiModelProperty(value = "地址ID")
    private Integer addressId;

    @ApiModelProperty(value = "默认地址")
    private String defaultAddress;

    @ApiModelProperty(value = "店铺ID")
    private Integer mallId;

    @ApiModelProperty(value = "店铺信息")
    private UserShopInfoRes shopInfo;


    @ApiModelProperty(value = "收货人名称")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phoneNumber;



    private UserProductEvaluateRes subRes;

    // 让利值
    private BigDecimal contributing;

    @ApiModelProperty(value = "上架状态：0->上架；1->下架")
    private Integer publishStatus;

    // 0收藏 1取消收藏
    private Integer collectState;

}
